main {
    background:#eee;
    padding-bottom:60px;
}

#head {
    height: 135px;
    background-image: url("https://yanxuan.nosdn.127.net/5905098f74e04c39fa5e76ebb9ff591b.png?imageView&type=webp");
    background-size: 100%;
    background-position: bottom center;
    padding-left: 15px;
    overflow: hidden;

    .custom-left {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -moz-align-items: center;
        align-items: center;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        -webkit-justify-content: flex-start;
        -moz-justify-content: flex-start;
        justify-content: flex-start;
        padding: 32px 0;
        width: 255px;

        .custom-avatar {
            vertical-align: middle;
            width: 71px;
            height: 71px;
            border-radius: 50%;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
            }
        }

        .custom-info-box {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            -moz-box-flex: 1;
            -moz-flex: 1;
            -ms-flex: 1;
            flex: 1;
            margin-left: 15px;
            line-height: 1;
            overflow: hidden;

            .nickname {
                color: #fff;
                font-size: 18px;
                line-height: 1.2;
                text-align: left;
                margin-bottom: 5px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }

            .level {
                color: #fff;
                font-size: 14px;
                vertical-align: middle;
            }
        }
    }
}

/* 我的资产 */
.custom-myasset-box {
    background: #FFF; 

    .custom-myasset-title {
        margin-left: 15px;
        border-bottom: 1px solid #D9D9D9;
        text-align: left;
        line-height: 52px;
        font-size: 14px;
    }

    .custom-myasset-content {
        position: relative;
        text-align: center;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: justify;
        justify-content: space-between;

        .custom-myasset-item {
            padding-top: 16px;
            height: 80px;
            -webkit-flex-shrink: 0;
            -moz-flex-shrink: 0;
            -ms-flex-negative: 0;
            flex-shrink: 0;
            -webkit-box-flex: 1;
            -webkit-flex-grow: 1;
            -moz-flex-grow: 1;
            -ms-flex-positive: 1;
            flex-grow: 1;

            .assetCount {
                margin-bottom: 2px;
                font-size: 16px;
                line-height: 24px;
                font-weight: 700;

                .unit {
                    margin-right: 2px;
                    font-size: 12px;
                    line-height: 18x;
                }

                .num-box {
                    position: relative;
                    display: inline-block;

                    .redDot {
                        width: 7px;
                        height: 7px;
                        position: absolute;
                        top: -1px;
                        right: -5px;
                        border-radius: 50%;
                        background-color: #DD1A21;
                    }
                }
            }

            .redPacketTip {
                position: absolute;
                padding-left: 3px;
                padding-right: 4px;
                height: 16px;
                line-height: 16px;
                font-size: 10px;
                color: #FFF;
                background: linear-gradient(270deg,#FF8462 0,#F74134 100%);
                top: 10px;
                left: 113.5px;
                border-radius: 6px 6px 6px 0;
            }

            .assetName {
                font-size: 12px;
                line-height: 18px;
            }
        }
    }
}

/* 省钱卡 */
.custom-saving-money-card-box {
    height: 55px;
    padding: 0 10px 10px;
    background: #fff;
    margin-bottom: 10px;

    .custom-saving-money-card-content {
        background: #FFF6F4;
        border: 1px solid rgba(221,26,33,.1);
        box-sizing: border-box;
        border-radius: 8px;
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row nowrap;
        -moz-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -moz-align-items: center;
        align-items: center;
        overflow: hidden;
        padding: 0 10px;
        font-size: 12px;

        .cardIcon {
            background:url("https://yanxuan.nosdn.127.net/static-union/1637128019f0f41d.png") no-repeat;
            background-size:100%;
            display: inline-block;
            margin-left: 2px;
            vertical-align: middle;
            width: 27px;
            height: 27px;
        }

        .titleIcon {
            background:url("https://yanxuan.nosdn.127.net/static-union/16371280193af007.png") no-repeat;
            background-size:100%;
            display: inline-block;
            margin-left: 4px;
            vertical-align: middle;
            height: 15px;
            width: 65px;
        }

        .text {
            margin-left: 1px;
            color: #333;
            font-weight: lighter;
        }

        .bannerBtn {
            margin-left: auto;
            padding: 0 10px;
            height: 22px;
            line-height: 22px;
            font-size: 11px;
            text-align: center;
            color: #FFF;
            background: #DD1A21;
            border-radius: 11px;
        }
    }
}

/* 菜单栏 */
.custom-menu-box {
    margin-bottom: 10px;
    background: #fff;

    .custom-menu-list {
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        width: 100%;

        .custom-menu-item {        
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -ms-flex-preferred-size: calc(33.33333% - 2px);
            flex-basis: calc(33.33333% - 2px);
            -ms-flex-negative: 0;
            flex-shrink: 0;
            height: 90px;
            border-bottom: 1px solid rgba(0,0,0,0.15);

            &:not(:nth-child(3n)) {
                border-right: 1px solid rgba(0,0,0,0.15);
            }

            .m-uMenuItem {
                display: block;

                .img {
                    display: inline-block;
                    width: 25px;
                    height: 25px;
                    vertical-align: middle;
                    margin-bottom: 8px;
                    background-image: url("https://yanxuan-static.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/sprites/ucenter-s83dc6c69b0-248bb5c94d.png?imageView&type=webp");
                    background-size: 42px 736px;

                    //531.5 - 513.5 = 17
                    &.u-icon-ulist {
                        background-position: 0 -513.5px;
                    }

                    //442 - 428 = 14
                    &.u-icon-uidmanage {
                        background-position: 0 -428px;
                    }

                    &.u-icon-umyphone {
                        background-position: 4px -568px;
                    }
                    
                    &.u-icon-upin {
                        background-position: 0 -594px;
                    }

                    &.u-icon-uaftersale {
                        background-position: 0 -254px;
                    }

                    &.u-icon-ulead {
                        background-position: 0 -484.5px;
                    }

                    &.u-icon-upreemption {
                        background-position: 0 -654px;
                    }

                    &.u-icon-upoints {
                        background-position: 0 -624px;
                    }

                    &.u-icon-umembershipBenefits {
                        background-position: 0 -542px;
                    }

                    &.u-icon-uaddress {
                        background-position: 0 -224px;
                    }

                    &.u-icon-usecurity {
                        background-position: 0 -710px;
                    }

                    &.u-icon-uhelp-kefu {
                        background-position: 0 -368px;
                    }

                    &.u-icon-ufeedback {
                        background-position: 0 -310px;
                    }

                    &.u-icon-auction {
                        width: 30px;
                        height: 25px;
                        background-position: 0 -48px;
                    }

                }

                .txt {
                    display: block;
                    font-size: 12px;
                    line-height: 17px;
                    color: #333;
                }
            }
        }
    }
}